package com.ndp.fb.mongo.api;

import com.ndp.fb.mongo.model.EcTemplateCreate;
import com.ndp.fb.mongo.model.Feed;
import com.ndp.fb.rdb.model.EcMaterielElements;
import com.ndp.fb.rdb.model.EcTemplate;

import java.util.List;

/**
 * Created by hexin on 2016/5/31.
 */
public interface EcTemplateCreateMongoService {
    void startCreate(String mongodbId, List<Feed> feeds, EcTemplate ecTemplate, List<EcMaterielElements> ecMaterielElementses);

    void pushNewFeed(String mongodbId, Feed feed);

    void updateFinished(String mongodbId);

    //查询创意模板预览数据
    EcTemplateCreate getCreate(String mongodbId);

}
